projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
447e6a5
)
* xfns.c (Fx_close_connection): Call xg_display_close when USE_GTK.
author
Jan Djärv
<jan.h.d@swipnet.se>
Sun, 10 Sep 2006 12:16:58 +0000
(12:16 +0000)
committer
Jan Djärv
<jan.h.d@swipnet.se>
Sun, 10 Sep 2006 12:16:58 +0000
(12:16 +0000)
src/xfns.c
patch
|
blob
|
history
diff --git
a/src/xfns.c
b/src/xfns.c
index dd8035c95afbfcf3c7f15b9a1c28a1c8f450e8e2..2bb4310e4379753e7c95407ea22cc4fb74e61ce9 100644
(file)
--- a/
src/xfns.c
+++ b/
src/xfns.c
@@
-4067,11
+4067,15
@@
If DISPLAY is nil, that stands for the selected frame's display. */)
x_destroy_all_bitmaps (dpyinfo);
XSetCloseDownMode (dpyinfo->display, DestroyAll);
+#ifdef USE_GTK
+ xg_display_close (dpyinfo->display);
+#else
#ifdef USE_X_TOOLKIT
XtCloseDisplay (dpyinfo->display);
#else
XCloseDisplay (dpyinfo->display);
#endif
+#endif /* ! USE_GTK */
x_delete_display (dpyinfo);
UNBLOCK_INPUT;